package com.tx.websocket.demo.dto;

import com.tx.websocket.demo.model.Role;
import com.tx.websocket.demo.model.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class UserRoleDto implements Serializable{
    private User currentUser;
    private List<Role> roles;
}
